<?php if($this->display_type==ListViewHomeSliderBlock::DISPLAY_TYPE_HOMEPAGE) : ?>
	<?php if ($this->content_list != null) : ?>
		
		<?php 
				//So I get the first content list and want to return as a Data Provider
                $content_list_data_provider = ListViewHomeSliderBlock::getContentList($this->content_list[0], null , null, ConstantDefine::CONTENT_LIST_RETURN_DATA_PROVIDER);		    
	            //Get the current content List model
                if (isset($content_list_data_provider) && $content_list_data_provider != null) : ?>
                	 	<div class="banner margcenter" style="margin-bottom:20px;">
				  			<div class="slider-wrapper theme-default">
					            <div class="ribbon"></div>
				            	<!-- <div id="slider" class="nivoSlider"> -->
                	 	<?php 
                    	$this->widget('zii.widgets.CListView',
                                  array
                                  (
                                  	'viewData'=>array('asset'=>$this->layout_asset),
                                    'dataProvider'=>$content_list_data_provider,
                                    'itemView'=>'common.front_blocks.listview_homeslider.item_render',
                                  	'itemsCssClass'=>'nivoSlider',
                                    'summaryText'=>'',
                                    'ajaxUpdate'=>true,
                                    'enablePagination'=> true,                                                                       
                                    'enableSorting'=>false,                           
                                    'sortableAttributes'=>array(),                                                       
                                    )
                                  );   
                            							                                                       
                		?>
                				</div>
				            </div>
	            	
	            <?php endif; ?>
            	     
            
		
	<?php endif; ?>

<?php endif; ?>